package top.linyuxb.lycloud.rpc.starter.annotation;

import java.lang.annotation.*;

/**
 * Created by Intellij IDEA.
 *
 * @Author: linyuxb
 * @Date: 2024/6/3 17:51
 * @Desc: rpc 方法注解 作用于接口上
 */
@Inherited
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface LyRpcMethod {
    /**
     * 客户端超时 毫秒 优先级中
     *
     * @return
     */
    int timeOut() default -1;
}
